package net.zoneland.knowledge.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class QaRecordsV2Example {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public QaRecordsV2Example() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCategoryIsNull() {
            addCriterion("CATEGORY is null");
            return (Criteria) this;
        }

        public Criteria andCategoryIsNotNull() {
            addCriterion("CATEGORY is not null");
            return (Criteria) this;
        }

        public Criteria andCategoryEqualTo(String value) {
            addCriterion("CATEGORY =", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryNotEqualTo(String value) {
            addCriterion("CATEGORY <>", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryGreaterThan(String value) {
            addCriterion("CATEGORY >", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryGreaterThanOrEqualTo(String value) {
            addCriterion("CATEGORY >=", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryLessThan(String value) {
            addCriterion("CATEGORY <", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryLessThanOrEqualTo(String value) {
            addCriterion("CATEGORY <=", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryLike(String value) {
            addCriterion("CATEGORY like", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryNotLike(String value) {
            addCriterion("CATEGORY not like", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryIn(List<String> values) {
            addCriterion("CATEGORY in", values, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryNotIn(List<String> values) {
            addCriterion("CATEGORY not in", values, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryBetween(String value1, String value2) {
            addCriterion("CATEGORY between", value1, value2, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryNotBetween(String value1, String value2) {
            addCriterion("CATEGORY not between", value1, value2, "category");
            return (Criteria) this;
        }

        public Criteria andQaTypeIsNull() {
            addCriterion("QA_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andQaTypeIsNotNull() {
            addCriterion("QA_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andQaTypeEqualTo(String value) {
            addCriterion("QA_TYPE =", value, "qaType");
            return (Criteria) this;
        }

        public Criteria andQaTypeNotEqualTo(String value) {
            addCriterion("QA_TYPE <>", value, "qaType");
            return (Criteria) this;
        }

        public Criteria andQaTypeGreaterThan(String value) {
            addCriterion("QA_TYPE >", value, "qaType");
            return (Criteria) this;
        }

        public Criteria andQaTypeGreaterThanOrEqualTo(String value) {
            addCriterion("QA_TYPE >=", value, "qaType");
            return (Criteria) this;
        }

        public Criteria andQaTypeLessThan(String value) {
            addCriterion("QA_TYPE <", value, "qaType");
            return (Criteria) this;
        }

        public Criteria andQaTypeLessThanOrEqualTo(String value) {
            addCriterion("QA_TYPE <=", value, "qaType");
            return (Criteria) this;
        }

        public Criteria andQaTypeLike(String value) {
            addCriterion("QA_TYPE like", value, "qaType");
            return (Criteria) this;
        }

        public Criteria andQaTypeNotLike(String value) {
            addCriterion("QA_TYPE not like", value, "qaType");
            return (Criteria) this;
        }

        public Criteria andQaTypeIn(List<String> values) {
            addCriterion("QA_TYPE in", values, "qaType");
            return (Criteria) this;
        }

        public Criteria andQaTypeNotIn(List<String> values) {
            addCriterion("QA_TYPE not in", values, "qaType");
            return (Criteria) this;
        }

        public Criteria andQaTypeBetween(String value1, String value2) {
            addCriterion("QA_TYPE between", value1, value2, "qaType");
            return (Criteria) this;
        }

        public Criteria andQaTypeNotBetween(String value1, String value2) {
            addCriterion("QA_TYPE not between", value1, value2, "qaType");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleIsNull() {
            addCriterion("LEVEL1_TITLE is null");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleIsNotNull() {
            addCriterion("LEVEL1_TITLE is not null");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleEqualTo(String value) {
            addCriterion("LEVEL1_TITLE =", value, "level1Title");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleNotEqualTo(String value) {
            addCriterion("LEVEL1_TITLE <>", value, "level1Title");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleGreaterThan(String value) {
            addCriterion("LEVEL1_TITLE >", value, "level1Title");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleGreaterThanOrEqualTo(String value) {
            addCriterion("LEVEL1_TITLE >=", value, "level1Title");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleLessThan(String value) {
            addCriterion("LEVEL1_TITLE <", value, "level1Title");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleLessThanOrEqualTo(String value) {
            addCriterion("LEVEL1_TITLE <=", value, "level1Title");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleLike(String value) {
            addCriterion("LEVEL1_TITLE like", value, "level1Title");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleNotLike(String value) {
            addCriterion("LEVEL1_TITLE not like", value, "level1Title");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleIn(List<String> values) {
            addCriterion("LEVEL1_TITLE in", values, "level1Title");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleNotIn(List<String> values) {
            addCriterion("LEVEL1_TITLE not in", values, "level1Title");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleBetween(String value1, String value2) {
            addCriterion("LEVEL1_TITLE between", value1, value2, "level1Title");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleNotBetween(String value1, String value2) {
            addCriterion("LEVEL1_TITLE not between", value1, value2, "level1Title");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleIsNull() {
            addCriterion("LEVEL2_TITLE is null");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleIsNotNull() {
            addCriterion("LEVEL2_TITLE is not null");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleEqualTo(String value) {
            addCriterion("LEVEL2_TITLE =", value, "level2Title");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleNotEqualTo(String value) {
            addCriterion("LEVEL2_TITLE <>", value, "level2Title");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleGreaterThan(String value) {
            addCriterion("LEVEL2_TITLE >", value, "level2Title");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleGreaterThanOrEqualTo(String value) {
            addCriterion("LEVEL2_TITLE >=", value, "level2Title");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleLessThan(String value) {
            addCriterion("LEVEL2_TITLE <", value, "level2Title");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleLessThanOrEqualTo(String value) {
            addCriterion("LEVEL2_TITLE <=", value, "level2Title");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleLike(String value) {
            addCriterion("LEVEL2_TITLE like", value, "level2Title");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleNotLike(String value) {
            addCriterion("LEVEL2_TITLE not like", value, "level2Title");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleIn(List<String> values) {
            addCriterion("LEVEL2_TITLE in", values, "level2Title");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleNotIn(List<String> values) {
            addCriterion("LEVEL2_TITLE not in", values, "level2Title");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleBetween(String value1, String value2) {
            addCriterion("LEVEL2_TITLE between", value1, value2, "level2Title");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleNotBetween(String value1, String value2) {
            addCriterion("LEVEL2_TITLE not between", value1, value2, "level2Title");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleIsNull() {
            addCriterion("LEVEL3_TITLE is null");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleIsNotNull() {
            addCriterion("LEVEL3_TITLE is not null");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleEqualTo(String value) {
            addCriterion("LEVEL3_TITLE =", value, "level3Title");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleNotEqualTo(String value) {
            addCriterion("LEVEL3_TITLE <>", value, "level3Title");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleGreaterThan(String value) {
            addCriterion("LEVEL3_TITLE >", value, "level3Title");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleGreaterThanOrEqualTo(String value) {
            addCriterion("LEVEL3_TITLE >=", value, "level3Title");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleLessThan(String value) {
            addCriterion("LEVEL3_TITLE <", value, "level3Title");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleLessThanOrEqualTo(String value) {
            addCriterion("LEVEL3_TITLE <=", value, "level3Title");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleLike(String value) {
            addCriterion("LEVEL3_TITLE like", value, "level3Title");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleNotLike(String value) {
            addCriterion("LEVEL3_TITLE not like", value, "level3Title");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleIn(List<String> values) {
            addCriterion("LEVEL3_TITLE in", values, "level3Title");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleNotIn(List<String> values) {
            addCriterion("LEVEL3_TITLE not in", values, "level3Title");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleBetween(String value1, String value2) {
            addCriterion("LEVEL3_TITLE between", value1, value2, "level3Title");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleNotBetween(String value1, String value2) {
            addCriterion("LEVEL3_TITLE not between", value1, value2, "level3Title");
            return (Criteria) this;
        }

        public Criteria andQueryTextIsNull() {
            addCriterion("QUERY_TEXT is null");
            return (Criteria) this;
        }

        public Criteria andQueryTextIsNotNull() {
            addCriterion("QUERY_TEXT is not null");
            return (Criteria) this;
        }

        public Criteria andQueryTextEqualTo(String value) {
            addCriterion("QUERY_TEXT =", value, "queryText");
            return (Criteria) this;
        }

        public Criteria andQueryTextNotEqualTo(String value) {
            addCriterion("QUERY_TEXT <>", value, "queryText");
            return (Criteria) this;
        }

        public Criteria andQueryTextGreaterThan(String value) {
            addCriterion("QUERY_TEXT >", value, "queryText");
            return (Criteria) this;
        }

        public Criteria andQueryTextGreaterThanOrEqualTo(String value) {
            addCriterion("QUERY_TEXT >=", value, "queryText");
            return (Criteria) this;
        }

        public Criteria andQueryTextLessThan(String value) {
            addCriterion("QUERY_TEXT <", value, "queryText");
            return (Criteria) this;
        }

        public Criteria andQueryTextLessThanOrEqualTo(String value) {
            addCriterion("QUERY_TEXT <=", value, "queryText");
            return (Criteria) this;
        }

        public Criteria andQueryTextLike(String value) {
            addCriterion("QUERY_TEXT like", value, "queryText");
            return (Criteria) this;
        }

        public Criteria andQueryTextNotLike(String value) {
            addCriterion("QUERY_TEXT not like", value, "queryText");
            return (Criteria) this;
        }

        public Criteria andQueryTextIn(List<String> values) {
            addCriterion("QUERY_TEXT in", values, "queryText");
            return (Criteria) this;
        }

        public Criteria andQueryTextNotIn(List<String> values) {
            addCriterion("QUERY_TEXT not in", values, "queryText");
            return (Criteria) this;
        }

        public Criteria andQueryTextBetween(String value1, String value2) {
            addCriterion("QUERY_TEXT between", value1, value2, "queryText");
            return (Criteria) this;
        }

        public Criteria andQueryTextNotBetween(String value1, String value2) {
            addCriterion("QUERY_TEXT not between", value1, value2, "queryText");
            return (Criteria) this;
        }

        public Criteria andQueStyleIsNull() {
            addCriterion("QUESTYLE is null");
            return (Criteria) this;
        }

        public Criteria andQueStyleIsNotNull() {
            addCriterion("QUESTYLE is not null");
            return (Criteria) this;
        }

        public Criteria andQueStyleEqualTo(String value) {
            addCriterion("QUESTYLE =", value, "queStyle");
            return (Criteria) this;
        }

        public Criteria andQueStyleNotEqualTo(String value) {
            addCriterion("QUESTYLE <>", value, "queStyle");
            return (Criteria) this;
        }

        public Criteria andQueStyleGreaterThan(String value) {
            addCriterion("QUESTYLE >", value, "queStyle");
            return (Criteria) this;
        }

        public Criteria andQueStyleGreaterThanOrEqualTo(String value) {
            addCriterion("QUESTYLE >=", value, "queStyle");
            return (Criteria) this;
        }

        public Criteria andQueStyleLessThan(String value) {
            addCriterion("QUESTYLE <", value, "queStyle");
            return (Criteria) this;
        }

        public Criteria andQueStyleLessThanOrEqualTo(String value) {
            addCriterion("QUESTYLE <=", value, "queStyle");
            return (Criteria) this;
        }

        public Criteria andQueStyleLike(String value) {
            addCriterion("QUESTYLE like", value, "queStyle");
            return (Criteria) this;
        }

        public Criteria andQueStyleNotLike(String value) {
            addCriterion("QUESTYLE not like", value, "queStyle");
            return (Criteria) this;
        }

        public Criteria andQueStyleIn(List<String> values) {
            addCriterion("QUESTYLE in", values, "queStyle");
            return (Criteria) this;
        }

        public Criteria andQueStyleNotIn(List<String> values) {
            addCriterion("QUESTYLE not in", values, "queStyle");
            return (Criteria) this;
        }

        public Criteria andQueStyleBetween(String value1, String value2) {
            addCriterion("QUESTYLE between", value1, value2, "queStyle");
            return (Criteria) this;
        }

        public Criteria andQueStyleNotBetween(String value1, String value2) {
            addCriterion("QUESTYLE not between", value1, value2, "queStyle");
            return (Criteria) this;
        }

        public Criteria andReqIdIsNull() {
            addCriterion("REQID is null");
            return (Criteria) this;
        }

        public Criteria andReqIdIsNotNull() {
            addCriterion("REQID is not null");
            return (Criteria) this;
        }

        public Criteria andReqIdEqualTo(String value) {
            addCriterion("REQID =", value, "reqId");
            return (Criteria) this;
        }

        public Criteria andReqIdNotEqualTo(String value) {
            addCriterion("REQID <>", value, "reqId");
            return (Criteria) this;
        }

        public Criteria andReqIdGreaterThan(String value) {
            addCriterion("REQID >", value, "reqId");
            return (Criteria) this;
        }

        public Criteria andReqIdGreaterThanOrEqualTo(String value) {
            addCriterion("REQID >=", value, "reqId");
            return (Criteria) this;
        }

        public Criteria andReqIdLessThan(String value) {
            addCriterion("REQID <", value, "reqId");
            return (Criteria) this;
        }

        public Criteria andReqIdLessThanOrEqualTo(String value) {
            addCriterion("REQID <=", value, "reqId");
            return (Criteria) this;
        }

        public Criteria andReqIdLike(String value) {
            addCriterion("REQID like", value, "reqId");
            return (Criteria) this;
        }

        public Criteria andReqIdNotLike(String value) {
            addCriterion("REQID not like", value, "reqId");
            return (Criteria) this;
        }

        public Criteria andReqIdIn(List<String> values) {
            addCriterion("REQID in", values, "reqId");
            return (Criteria) this;
        }

        public Criteria andReqIdNotIn(List<String> values) {
            addCriterion("REQID not in", values, "reqId");
            return (Criteria) this;
        }

        public Criteria andReqIdBetween(String value1, String value2) {
            addCriterion("REQID between", value1, value2, "reqId");
            return (Criteria) this;
        }

        public Criteria andReqIdNotBetween(String value1, String value2) {
            addCriterion("REQID not between", value1, value2, "reqId");
            return (Criteria) this;
        }

        public Criteria andReqNameIsNull() {
            addCriterion("REQNAME is null");
            return (Criteria) this;
        }

        public Criteria andReqNameIsNotNull() {
            addCriterion("REQNAME is not null");
            return (Criteria) this;
        }

        public Criteria andReqNameEqualTo(String value) {
            addCriterion("REQNAME =", value, "reqName");
            return (Criteria) this;
        }

        public Criteria andReqNameNotEqualTo(String value) {
            addCriterion("REQNAME <>", value, "reqName");
            return (Criteria) this;
        }

        public Criteria andReqNameGreaterThan(String value) {
            addCriterion("REQNAME >", value, "reqName");
            return (Criteria) this;
        }

        public Criteria andReqNameGreaterThanOrEqualTo(String value) {
            addCriterion("REQNAME >=", value, "reqName");
            return (Criteria) this;
        }

        public Criteria andReqNameLessThan(String value) {
            addCriterion("REQNAME <", value, "reqName");
            return (Criteria) this;
        }

        public Criteria andReqNameLessThanOrEqualTo(String value) {
            addCriterion("REQNAME <=", value, "reqName");
            return (Criteria) this;
        }

        public Criteria andReqNameLike(String value) {
            addCriterion("REQNAME like", value, "reqName");
            return (Criteria) this;
        }

        public Criteria andReqNameNotLike(String value) {
            addCriterion("REQNAME not like", value, "reqName");
            return (Criteria) this;
        }

        public Criteria andReqNameIn(List<String> values) {
            addCriterion("REQNAME in", values, "reqName");
            return (Criteria) this;
        }

        public Criteria andReqNameNotIn(List<String> values) {
            addCriterion("REQNAME not in", values, "reqName");
            return (Criteria) this;
        }

        public Criteria andReqNameBetween(String value1, String value2) {
            addCriterion("REQNAME between", value1, value2, "reqName");
            return (Criteria) this;
        }

        public Criteria andReqNameNotBetween(String value1, String value2) {
            addCriterion("REQNAME not between", value1, value2, "reqName");
            return (Criteria) this;
        }

        public Criteria andCmpDnIsNull() {
            addCriterion("CMPDN is null");
            return (Criteria) this;
        }

        public Criteria andCmpDnIsNotNull() {
            addCriterion("CMPDN is not null");
            return (Criteria) this;
        }

        public Criteria andCmpDnEqualTo(String value) {
            addCriterion("CMPDN =", value, "cmpDn");
            return (Criteria) this;
        }

        public Criteria andCmpDnNotEqualTo(String value) {
            addCriterion("CMPDN <>", value, "cmpDn");
            return (Criteria) this;
        }

        public Criteria andCmpDnGreaterThan(String value) {
            addCriterion("CMPDN >", value, "cmpDn");
            return (Criteria) this;
        }

        public Criteria andCmpDnGreaterThanOrEqualTo(String value) {
            addCriterion("CMPDN >=", value, "cmpDn");
            return (Criteria) this;
        }

        public Criteria andCmpDnLessThan(String value) {
            addCriterion("CMPDN <", value, "cmpDn");
            return (Criteria) this;
        }

        public Criteria andCmpDnLessThanOrEqualTo(String value) {
            addCriterion("CMPDN <=", value, "cmpDn");
            return (Criteria) this;
        }

        public Criteria andCmpDnLike(String value) {
            addCriterion("CMPDN like", value, "cmpDn");
            return (Criteria) this;
        }

        public Criteria andCmpDnNotLike(String value) {
            addCriterion("CMPDN not like", value, "cmpDn");
            return (Criteria) this;
        }

        public Criteria andCmpDnIn(List<String> values) {
            addCriterion("CMPDN in", values, "cmpDn");
            return (Criteria) this;
        }

        public Criteria andCmpDnNotIn(List<String> values) {
            addCriterion("CMPDN not in", values, "cmpDn");
            return (Criteria) this;
        }

        public Criteria andCmpDnBetween(String value1, String value2) {
            addCriterion("CMPDN between", value1, value2, "cmpDn");
            return (Criteria) this;
        }

        public Criteria andCmpDnNotBetween(String value1, String value2) {
            addCriterion("CMPDN not between", value1, value2, "cmpDn");
            return (Criteria) this;
        }

        public Criteria andDeptDnIsNull() {
            addCriterion("DEPTDN is null");
            return (Criteria) this;
        }

        public Criteria andDeptDnIsNotNull() {
            addCriterion("DEPTDN is not null");
            return (Criteria) this;
        }

        public Criteria andDeptDnEqualTo(String value) {
            addCriterion("DEPTDN =", value, "deptDn");
            return (Criteria) this;
        }

        public Criteria andDeptDnNotEqualTo(String value) {
            addCriterion("DEPTDN <>", value, "deptDn");
            return (Criteria) this;
        }

        public Criteria andDeptDnGreaterThan(String value) {
            addCriterion("DEPTDN >", value, "deptDn");
            return (Criteria) this;
        }

        public Criteria andDeptDnGreaterThanOrEqualTo(String value) {
            addCriterion("DEPTDN >=", value, "deptDn");
            return (Criteria) this;
        }

        public Criteria andDeptDnLessThan(String value) {
            addCriterion("DEPTDN <", value, "deptDn");
            return (Criteria) this;
        }

        public Criteria andDeptDnLessThanOrEqualTo(String value) {
            addCriterion("DEPTDN <=", value, "deptDn");
            return (Criteria) this;
        }

        public Criteria andDeptDnLike(String value) {
            addCriterion("DEPTDN like", value, "deptDn");
            return (Criteria) this;
        }

        public Criteria andDeptDnNotLike(String value) {
            addCriterion("DEPTDN not like", value, "deptDn");
            return (Criteria) this;
        }

        public Criteria andDeptDnIn(List<String> values) {
            addCriterion("DEPTDN in", values, "deptDn");
            return (Criteria) this;
        }

        public Criteria andDeptDnNotIn(List<String> values) {
            addCriterion("DEPTDN not in", values, "deptDn");
            return (Criteria) this;
        }

        public Criteria andDeptDnBetween(String value1, String value2) {
            addCriterion("DEPTDN between", value1, value2, "deptDn");
            return (Criteria) this;
        }

        public Criteria andDeptDnNotBetween(String value1, String value2) {
            addCriterion("DEPTDN not between", value1, value2, "deptDn");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CREATETIME is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CREATETIME is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("CREATETIME =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CREATETIME <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CREATETIME >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATETIME >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CREATETIME <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CREATETIME <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CREATETIME in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CREATETIME not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CREATETIME between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CREATETIME not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andPraiseIsNull() {
            addCriterion("PRAISE is null");
            return (Criteria) this;
        }

        public Criteria andPraiseIsNotNull() {
            addCriterion("PRAISE is not null");
            return (Criteria) this;
        }

        public Criteria andPraiseEqualTo(int value) {
            addCriterion("PRAISE =", value, "praise");
            return (Criteria) this;
        }

        public Criteria andPraiseNotEqualTo(int value) {
            addCriterion("PRAISE <>", value, "praise");
            return (Criteria) this;
        }

        public Criteria andPraiseGreaterThan(int value) {
            addCriterion("PRAISE >", value, "praise");
            return (Criteria) this;
        }

        public Criteria andPraiseGreaterThanOrEqualTo(int value) {
            addCriterion("PRAISE >=", value, "praise");
            return (Criteria) this;
        }

        public Criteria andPraiseLessThan(int value) {
            addCriterion("PRAISE <", value, "praise");
            return (Criteria) this;
        }

        public Criteria andPraiseLessThanOrEqualTo(int value) {
            addCriterion("PRAISE <=", value, "praise");
            return (Criteria) this;
        }

        public Criteria andPraiseIn(List<Integer> values) {
            addCriterion("PRAISE in", values, "praise");
            return (Criteria) this;
        }

        public Criteria andPraiseNotIn(List<Integer> values) {
            addCriterion("PRAISE not in", values, "praise");
            return (Criteria) this;
        }

        public Criteria andPraiseBetween(int value1, int value2) {
            addCriterion("PRAISE between", value1, value2, "praise");
            return (Criteria) this;
        }

        public Criteria andPraiseNotBetween(int value1, int value2) {
            addCriterion("PRAISE not between", value1, value2, "praise");
            return (Criteria) this;
        }

        public Criteria andFinalAnswerIsNull() {
            addCriterion("FINALANSWER is null");
            return (Criteria) this;
        }

        public Criteria andFinalAnswerIsNotNull() {
            addCriterion("FINALANSWER is not null");
            return (Criteria) this;
        }

        public Criteria andFinalAnswerEqualTo(int value) {
            addCriterion("FINALANSWER =", value, "finalAnswer");
            return (Criteria) this;
        }

        public Criteria andFinalAnswerNotEqualTo(int value) {
            addCriterion("FINALANSWER <>", value, "finalAnswer");
            return (Criteria) this;
        }

        public Criteria andFinalAnswerGreaterThan(int value) {
            addCriterion("FINALANSWER >", value, "finalAnswer");
            return (Criteria) this;
        }

        public Criteria andFinalAnswerGreaterThanOrEqualTo(int value) {
            addCriterion("FINALANSWER >=", value, "finalAnswer");
            return (Criteria) this;
        }

        public Criteria andFinalAnswerLessThan(int value) {
            addCriterion("FINALANSWER <", value, "finalAnswer");
            return (Criteria) this;
        }

        public Criteria andFinalAnswerLessThanOrEqualTo(int value) {
            addCriterion("FINALANSWER <=", value, "finalAnswer");
            return (Criteria) this;
        }

        public Criteria andFinalAnswerIn(List<Integer> values) {
            addCriterion("FINALANSWER in", values, "finalAnswer");
            return (Criteria) this;
        }

        public Criteria andFinalAnswerNotIn(List<Integer> values) {
            addCriterion("FINALANSWER not in", values, "finalAnswer");
            return (Criteria) this;
        }

        public Criteria andFinalAnswerBetween(int value1, int value2) {
            addCriterion("FINALANSWER between", value1, value2, "finalAnswer");
            return (Criteria) this;
        }

        public Criteria andFinalAnswerNotBetween(int value1, int value2) {
            addCriterion("FINALANSWER not between", value1, value2, "finalAnswer");
            return (Criteria) this;
        }

        public Criteria andAnsCodeIsNull() {
            addCriterion("ANSCODE is null");
            return (Criteria) this;
        }

        public Criteria andAnsCodeIsNotNull() {
            addCriterion("ANSCODE is not null");
            return (Criteria) this;
        }

        public Criteria andAnsCodeEqualTo(int value) {
            addCriterion("ANSCODE =", value, "ansCode");
            return (Criteria) this;
        }

        public Criteria andAnsCodeNotEqualTo(int value) {
            addCriterion("ANSCODE <>", value, "ansCode");
            return (Criteria) this;
        }

        public Criteria andAnsCodeGreaterThan(int value) {
            addCriterion("ANSCODE >", value, "ansCode");
            return (Criteria) this;
        }

        public Criteria andAnsCodeGreaterThanOrEqualTo(int value) {
            addCriterion("ANSCODE >=", value, "ansCode");
            return (Criteria) this;
        }

        public Criteria andAnsCodeLessThan(int value) {
            addCriterion("ANSCODE <", value, "ansCode");
            return (Criteria) this;
        }

        public Criteria andAnsCodeLessThanOrEqualTo(int value) {
            addCriterion("ANSCODE <=", value, "ansCode");
            return (Criteria) this;
        }

        public Criteria andAnsCodeIn(List<Integer> values) {
            addCriterion("ANSCODE in", values, "ansCode");
            return (Criteria) this;
        }

        public Criteria andAnsCodeNotIn(List<Integer> values) {
            addCriterion("ANSCODE not in", values, "ansCode");
            return (Criteria) this;
        }

        public Criteria andAnsCodeBetween(int value1, int value2) {
            addCriterion("ANSCODE between", value1, value2, "ansCode");
            return (Criteria) this;
        }

        public Criteria andAnsCodeNotBetween(int value1, int value2) {
            addCriterion("ANSCODE not between", value1, value2, "ansCode");
            return (Criteria) this;
        }

        public Criteria andBankIdIsNull() {
            addCriterion("BANKID is null");
            return (Criteria) this;
        }

        public Criteria andBankIdIsNotNull() {
            addCriterion("BANKID is not null");
            return (Criteria) this;
        }

        public Criteria andBankIdEqualTo(String value) {
            addCriterion("BANKID =", value, "bankId");
            return (Criteria) this;
        }

        public Criteria andBankIdNotEqualTo(String value) {
            addCriterion("BANKID <>", value, "bankId");
            return (Criteria) this;
        }

        public Criteria andBankIdGreaterThan(String value) {
            addCriterion("BANKID >", value, "bankId");
            return (Criteria) this;
        }

        public Criteria andBankIdGreaterThanOrEqualTo(String value) {
            addCriterion("BANKID >=", value, "bankId");
            return (Criteria) this;
        }

        public Criteria andBankIdLessThan(String value) {
            addCriterion("BANKID <", value, "bankId");
            return (Criteria) this;
        }

        public Criteria andBankIdLessThanOrEqualTo(String value) {
            addCriterion("BANKID <=", value, "bankId");
            return (Criteria) this;
        }

        public Criteria andBankIdLike(String value) {
            addCriterion("BANKID like", value, "bankId");
            return (Criteria) this;
        }

        public Criteria andBankIdNotLike(String value) {
            addCriterion("BANKID not like", value, "bankId");
            return (Criteria) this;
        }

        public Criteria andBankIdIn(List<String> values) {
            addCriterion("BANKID in", values, "bankId");
            return (Criteria) this;
        }

        public Criteria andBankIdNotIn(List<String> values) {
            addCriterion("BANKID not in", values, "bankId");
            return (Criteria) this;
        }

        public Criteria andBankIdBetween(String value1, String value2) {
            addCriterion("BANKID between", value1, value2, "bankId");
            return (Criteria) this;
        }

        public Criteria andBankIdNotBetween(String value1, String value2) {
            addCriterion("BANKID not between", value1, value2, "bankId");
            return (Criteria) this;
        }

        public Criteria andSessionIdIsNull() {
            addCriterion("SESSIONID is null");
            return (Criteria) this;
        }

        public Criteria andSessionIdIsNotNull() {
            addCriterion("SESSIONID is not null");
            return (Criteria) this;
        }

        public Criteria andSessionIdEqualTo(String value) {
            addCriterion("SESSIONID =", value, "sessionId");
            return (Criteria) this;
        }

        public Criteria andSessionIdNotEqualTo(String value) {
            addCriterion("SESSIONID <>", value, "sessionId");
            return (Criteria) this;
        }

        public Criteria andSessionIdGreaterThan(String value) {
            addCriterion("SESSIONID >", value, "sessionId");
            return (Criteria) this;
        }

        public Criteria andSessionIdGreaterThanOrEqualTo(String value) {
            addCriterion("SESSIONID >=", value, "sessionId");
            return (Criteria) this;
        }

        public Criteria andSessionIdLessThan(String value) {
            addCriterion("SESSIONID <", value, "sessionId");
            return (Criteria) this;
        }

        public Criteria andSessionIdLessThanOrEqualTo(String value) {
            addCriterion("SESSIONID <=", value, "sessionId");
            return (Criteria) this;
        }

        public Criteria andSessionIdLike(String value) {
            addCriterion("SESSIONID like", value, "sessionId");
            return (Criteria) this;
        }

        public Criteria andSessionIdNotLike(String value) {
            addCriterion("SESSIONID not like", value, "sessionId");
            return (Criteria) this;
        }

        public Criteria andSessionIdIn(List<String> values) {
            addCriterion("SESSIONID in", values, "sessionId");
            return (Criteria) this;
        }

        public Criteria andSessionIdNotIn(List<String> values) {
            addCriterion("SESSIONID not in", values, "sessionId");
            return (Criteria) this;
        }

        public Criteria andSessionIdBetween(String value1, String value2) {
            addCriterion("SESSIONID between", value1, value2, "sessionId");
            return (Criteria) this;
        }

        public Criteria andSessionIdNotBetween(String value1, String value2) {
            addCriterion("SESSIONID not between", value1, value2, "sessionId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}